*/
int apic_verbosity;
-int get_physical_broadcast(void)
-{
- return 0xff;
-}
-
/*
* 'what should we do if we get a hw irq event on an illegal vector'.
* each architecture has to answer this themselves.
ack_APIC_irq();
}
+int get_physical_broadcast(void)
+{
+ return 0xff;
+}
+
#ifdef CONFIG_XEN
void switch_APIC_timer_to_ipi(void *cpumask) { }
EXPORT_SYMBOL(switch_APIC_timer_to_ipi);
void switch_ipi_to_APIC_timer(void *cpumask) { }
EXPORT_SYMBOL(switch_ipi_to_APIC_timer);
-#else
+#endif
+
+#ifndef CONFIG_XEN
#ifndef CONFIG_SMP
static void up_apic_timer_interrupt_call(struct pt_regs *regs)
{
#endif
}
}
+#endif
int setup_profiling_timer(unsigned int multiplier)
{
return -EINVAL;
}
-#endif
/*
* This initializes the IO-APIC and APIC hardware if this is
#include <asm/hpet.h>
#include <asm/idle.h>
-/*
- * Debug level
- */
int apic_verbosity;
-int disable_apic;
+
+#ifdef CONFIG_XEN
+void switch_APIC_timer_to_ipi(void *cpumask) { }
+EXPORT_SYMBOL(switch_APIC_timer_to_ipi);
+void switch_ipi_to_APIC_timer(void *cpumask) { }
+EXPORT_SYMBOL(switch_ipi_to_APIC_timer);
+#endif
+
+int setup_profiling_timer(unsigned int multiplier)
+{
+ return -EINVAL;
+}
void smp_local_timer_interrupt(struct pt_regs *regs)
{
irq_exit();
}
-int get_physical_broadcast(void)
-{
- return 0xff;
-}
-
-#ifdef CONFIG_XEN
-void switch_APIC_timer_to_ipi(void *cpumask) { }
-EXPORT_SYMBOL(switch_APIC_timer_to_ipi);
-void switch_ipi_to_APIC_timer(void *cpumask) { }
-EXPORT_SYMBOL(switch_ipi_to_APIC_timer);
-#endif
+int disable_apic;
/*
* This initializes the IO-APIC and APIC hardware if this is